Skip to content

consistently set the initial filter to "All"#1584

Merged
ab9rf merged 1 commit into
DFHack:masterfrom
chdoc:fix-siegemanager
May 19, 2026
Merged

consistently set the initial filter to "All"#1584
ab9rf merged 1 commit into
DFHack:masterfrom
chdoc:fix-siegemanager

Conversation

@chdoc
Copy link
Copy Markdown
Member

@chdoc chdoc commented May 10, 2026

Explanation: initial_option first tries to find the provided value as an option value. So in this case 1 matches df.siegeengine_type.Ballista, while the rest of this script assumes that the filter is set to -1.

fixes: DFHack/dfhack#5765

@chdoc chdoc added the bugfix label May 19, 2026
@ab9rf ab9rf merged commit 7edfa23 into DFHack:master May 19, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

gui/siegemanager starts in an inconsistent "show types" state

2 participants